package com.blog.zip.bean;


import java.util.List;
import java.util.Map;

public class RespBean {
    private int status;
    private String msg;
    private int code;
    private Map<String,Object> data;
    private List<Map<String,Object>> list;
    public RespBean() {

    }


    public Map<String, Object> getData() {
        return data;
    }

    public void setData(Map<String, Object> m) {
        this.data = m;
    }

    public RespBean(int status, String msg) {
        this.status = status;
        this.msg = msg;
    }


    public RespBean(int status, int code,String msg) {
        this.status = status;
        this.msg = msg;
        this.code = code;
    }

    public RespBean(int code,String msg,Map<String,Object> map) {
        this.msg = msg;
        this.code = code;
        this.data = map;
    }

    public RespBean(int code, String msg, List<Map<String,Object>> list) {
        this.msg = msg;
        this.code = code;
        this.list = list;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }


    public List<Map<String, Object>> getList() {
        return list;
    }

    public void setList(List<Map<String, Object>> list) {
        this.list = list;
    }
}
